package com.demo.auth.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demo.auth.dao.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author ps
* @description 针对表【user】的数据库操作Mapper
* @createDate 2022-09-16 17:57:48
* @Entity com.demo.auth.dao.domain.User
*/
public interface UserMapper extends BaseMapper<User> {

    List<Long> getRoleIdByUserId(@Param("userId") Long userId);
}




